home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / utilities / text / less-278.lha / less-278 / src.lha / source / NEWS < prev    next >
Encoding:
Text File  |  1995-02-15  |  7.9 KB  |  229 lines

  1.     Major changes between "less" versions 252 and 278
  2.  
  3. * A LESSOPEN preprocessor may now pipe the converted file data to less,
  4.   rather than writing it to a temporary file.
  5.  
  6. * Search pattern highlighting has been fixed.  It now highlights 
  7.   reliably, even if a string is split across two screen lines,
  8.   contains TABs, etc.
  9.  
  10. * The -F flag (which suppress search highlighting) has been changed 
  11.   to -G.  A new flag, -g, changes search highlighting to highlight 
  12.   only the string found by the last search command, instead of all 
  13.   strings which match the last search command.
  14.  
  15. * New flag -I acts like -i, but ignores case even if the search 
  16.   pattern contains uppercase letters.
  17.  
  18. * Less now checks for the environment variable VISUAL before EDITOR.
  19.  
  20. * Ported to OS/2.
  21.  
  22. ======================================================================
  23.  
  24.  
  25.     Major changes between "less" versions 237 and 252
  26.  
  27. * Changes in line-editing keys:
  28.   The literal key is now ^V or ^A rather than \ (backslash).
  29.   Filename completion commands (TAB and ^L) are disabled 
  30.   when typing a search pattern.
  31.  
  32. * Line-editing command keys can be redefined using lesskey.
  33.  
  34. * Lesskey with no input file defaults to $HOME/.lesskey
  35.   rather than standard input.
  36.  
  37. * New option -V displays version number of less.
  38.  
  39. * New option -V displays version number of lesskey.
  40.  
  41. * Help file less.hlp is now installed by default in /usr/local/share 
  42.   rather than /usr/local/lib.
  43.  
  44.  
  45. ======================================================================
  46.  
  47.  
  48.     Major changes between "less" versions 170 and 237
  49.  
  50. * By popular demand, text which matches the current search pattern
  51.   is highlighted.  New -F flag disables this feature.
  52.  
  53. * Henry Spencer's regexp.c is now included, for systems which do not
  54.   have a regular expression library.
  55.   regexp.c is Copyright (c) 1986 by University of Toronto.
  56.  
  57. * New line-editing keys, including command history (arrow keys) and 
  58.   filename completion (TAB).
  59.  
  60. * Input preprocessor allows modification of input files (e.g. uncompress)
  61.   via LESSOPEN/LESSCLOSE environment variables.
  62.  
  63. * New -X flag disables sending termcap "ti" and "te" (initialize and
  64.   deinitialize) strings to the terminal. 
  65.  
  66. * Changing -i from within less now correctly affects a subsequent
  67.   repeated search.  
  68.  
  69. * Searching for underlined or overstruck text now works when the -u
  70.   flag is in effect, rather than the -i flag.
  71.  
  72. * Use setlocale (LANG and LC_CTYPE environment variables) to determine
  73.   the character set if LESSCHARSET/LESSCHARDEF are not set.
  74.  
  75. * The default format for displaying binary characters is now standout
  76.   (reverse video) rather than blinking.  This can still be changed by
  77.   setting the LESSBINFMT environment variable.
  78.  
  79. * Use autoconf installation technology.
  80.  
  81. * Ported to MS-DOS.
  82.  
  83.         ********************************
  84.           Things that may surprise you
  85.         ********************************
  86.  
  87. * When you enter text at the bottom of the screen (search string, 
  88.   filename, etc.), some keys act different than previously.  
  89.   Specifically, \ (backslash), ESC, TAB, BACKTAB, and control-L 
  90.   now have line editing functions.
  91.  
  92. * Some previous unofficial versions of less were able to display
  93.   compressed files.  The new LESSOPEN/LESSCLOSE feature now provides
  94.   this functionality in a different way.
  95.  
  96. * Some previous unofficial versions of less provided a -Z flag to 
  97.   set the number of lines of text to retain between full screen scrolls.
  98.   The -z-n flag (that is, -z with a negative number) provides this 
  99.   functionality.
  100.  
  101.  
  102. ======================================================================
  103.  
  104.  
  105.     Major changes between "less" versions 123 and 170
  106.  
  107. * New option -j allows target lines to be positioned anywhere on screen.
  108.  
  109. * New option -S truncates displayed line at the screen width,
  110.   rather than wrapping onto the next line.
  111.  
  112. * New option -y limits amount of forward scroll.
  113.  
  114. * New option -T specifies a "tags" file.
  115.  
  116. * Non-printable, non-control characters are displayed in octal.
  117.   Such characters, as well as control characters, are displayed 
  118.   in blinking mode.
  119.  
  120. * New command -+ sets an option to its default.
  121. * New command -- sets an option to the opposite of its default.
  122.  
  123. * Lesskey file may have a string appended to a key's action,
  124.   which acts as though typed in after the command.
  125.  
  126. * New commands ESC-^F and ESC-^B match arbitrary types of brackets.
  127.  
  128. * New command F monitors a growing file (like "tail -f").
  129.  
  130. * New command | pipes a section of the input file into a shell command.
  131.  
  132. * New command :x directly jumps to a file in the command line list.
  133.  
  134. * Search commands have been enhanced and reorganized:
  135.     n    Repeat search, same direction.
  136.     N    Repeat search, opposite direction.
  137.     ESC-/    Search forward thru file boundaries
  138.     ESC-?    Search backward thru file boundaries
  139.     ESC-n    Repeat search thru file boundaries, same direction.
  140.     ESC-N    Repeat search thru file boundaries, opposite direction.
  141.   Special character * causes search to search thru file boundaries.
  142.   Special character @ causes search to begin at start/end of file list.
  143.  
  144. * Examining a new file adds it to the command line list.
  145.   A list of files, or an expression which matches more than one file,
  146.   may be examined; all of them are added to the command line list.
  147.  
  148. * Environment variables LESSCHARSET and LESSCHARDEF can define
  149.   a non-ASCII character set.
  150.  
  151. * Partial support for MSDOS, including options -R for repainting screen
  152.   on quit, -v/-V to select video mode, and -W to change window size.
  153.  
  154.  
  155. ======================================================================
  156.  
  157.  
  158.     Major changes between "less" versions 97 and 123
  159.  
  160. * New option (-N) causes line numbers to be displayed in the
  161.   text of the file (like vi "set nu").
  162.  
  163. * New option (-?) prints help message immediately.
  164.  
  165. * New option (-r) displays "raw" control characters, without
  166.   mapping them to ^X notation.
  167.  
  168. * New option (-f) forces less to open non-regular files
  169.   (directories, etc).
  170.  
  171. * New option (-k) can be used to specify lesskey files by name.
  172.  
  173. * New option (-y) can be used to set a forward scroll limit
  174.   (like -h sets a backward scroll limit).
  175.  
  176. * File marks (set by the m command) are now preserved when a new
  177.   file is edited.  The ' command can thus be used to switch files.
  178.  
  179. * New command ESC-/ searches all files (on the command line) 
  180.   for a pattern.
  181.  
  182. * New command ESC-n repeats previous search, spanning files.
  183.  
  184. * The N command has been changed to repeat the previous search
  185.   in the reverse direction.  The old N command is still available 
  186.   via :n.
  187.  
  188. * New command ESC-N repeats previous search in the reverse
  189.   direction and spanning files.
  190.  
  191. * 8 bit characters are now supported.  A new option (-g) can be 
  192.   used to strip off the eighth bit (the previous behavior).
  193.  
  194. * Options which take a following string (like -t) may now
  195.   optionally have a space between the option letter and the string.
  196.  
  197. * Six new commands { } ( ) [ and ] can be used to match
  198.   brackets of specific types, similar to vi % command.
  199.  
  200. * New commands z and w move forward/backward one window and
  201.   simultaneously set the window size.
  202.  
  203. * Prompt string expansion now has %L for line number of the last
  204.   line in the file, and %E for the name of the editor.
  205.   Also, % escapes which refer to a line (b=bottom, t=top, etc.)
  206.   can use j for the jump target line.
  207.  
  208. * New environment variable LESSEDIT can be used to tailor the
  209.   command string passed to the editor by the v command.
  210.  
  211. * Examining a file which was previously examined will return
  212.   to the same position in the file.
  213.  
  214. * A "%" is expanded to the current filename and a "#" to the 
  215.   previous filename, in both shell commands and the E command.
  216.   (Previously % worked only in shell commands and # worked 
  217.   only in the E command.)
  218.  
  219. * New command ":ta" is equivalent to "-t".
  220.  
  221. * New command "s" is equivalent to "-l".
  222.  
  223. * The - command may be followed by "+X" to revert to the default
  224.   for option X, or "-X" to get the opposite of the default.
  225.  
  226. * Lesskey files may now include characters after the action as
  227.   extra input to be parsed after the action; for example:
  228.   "toggle-option X" to toggle a specific option X.
  229.